package com.dcbeida.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by 150410 on 2017/10/13.
 */

public class HistoryOfSmokingBean implements Serializable {


    /**
     * totalcount : 3
     * start : 0
     * list : [{"id":2,"name":"吸烟","code":"01.01","parentid":1,"value":1,"type":0,"memo":""},{"id":3,"name":"已戒烟","code":"01.02","parentid":1,"value":2,"type":0,"memo":""},{"id":4,"name":"不吸烟","code":"01.03","parentid":1,"value":0,"type":0,"memo":""}]
     * count : 3
     */

    private int totalcount;
    private int start;
    private int count;
    private ArrayList<ListBean> list;

    public int getTotalcount() {
        return totalcount;
    }

    public void setTotalcount(int totalcount) {
        this.totalcount = totalcount;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public ArrayList<ListBean> getList() {
        return list;
    }

    public void setList(ArrayList<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable{
        /**
         * id : 2
         * name : 吸烟
         * code : 01.01
         * parentid : 1
         * value : 1
         * type : 0
         * memo :
         */

        private int id;
        private String name;
        private String code;
        private int parentid;
        private int value;
        private int type;
        private String memo;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getParentid() {
            return parentid;
        }

        public void setParentid(int parentid) {
            this.parentid = parentid;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }
    }

}
